package com.czwx.bee.business.manager.modular.sys.model;
import com.czwx.bee.base.common.model.CommonModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.beetl.sql.core.annotatoin.Table;

import java.util.Date;

/* 
* 
* gen by beetlsql 2018-04-23
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "bp_resource")
public class Resource  extends CommonModel {

	@ApiModelProperty(value = "id")
	private Long id ;

	@ApiModelProperty(value = "资源类型 1：菜单 2按钮")
	private Integer resourcetype ;

	@ApiModelProperty(value = "排序")
	private Integer seq ;

	@ApiModelProperty(value = "状态 1：启用 0停用")
	private Integer status ;

	@ApiModelProperty(value = "描述")
	private String description ;

	@ApiModelProperty(value = "图标")
	private String icon ;

	@ApiModelProperty(value = "资源名称")
	private String name ;

	@ApiModelProperty(value = "资源标题")
	private String title;

	@ApiModelProperty(value = "父类id")
	private Long pid ;

	@ApiModelProperty(value = "父类id字符串")
	private String pids ;

	@ApiModelProperty(value = "url")
	private String url ;
}
